create States Manager
inline fun <TargetContextType, TargetStateType> createStatesManager(targetKeyValueRepo: KeyValueRepo<TargetContextType, TargetStateType>, noinline contextToOutTransformer: suspend Any.() -> TargetContextType, noinline stateToOutTransformer: suspend State.() -> TargetStateType, noinline outToContextTransformer: suspend TargetContextType.() -> Any, noinline outToStateTransformer: suspend TargetStateType.() -> State): KeyValueBasedStatesManager
Content copied to clipboard